<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: grppi::parallel_execution_native Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.2</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegrppi.html">grppi</a></li><li class="navelem"><a class="el" href="classgrppi_1_1parallel__execution__native.html">parallel_execution_native</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classgrppi_1_1parallel__execution__native-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">grppi::parallel_execution_native Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Native parallel execution policy. This policy uses ISO C++ threads as implementation building block allowing usage in any ISO C++ compliant platform.  
 <a href="classgrppi_1_1parallel__execution__native.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="parallel__execution__native_8h_source.html">parallel_execution_native.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for grppi::parallel_execution_native:</div>
<div class="dyncontent">
<div class="center"><img src="classgrppi_1_1parallel__execution__native__coll__graph.png" border="0" usemap="#grppi_1_1parallel__execution__native_coll__map" alt="Collaboration graph"/></div>
<map name="grppi_1_1parallel__execution__native_coll__map" id="grppi_1_1parallel__execution__native_coll__map">
<area shape="rect" id="node2" href="classgrppi_1_1thread__pool.html" title="grppi::thread_pool" alt="" coords="24,5,149,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ade8219a47138ed32dd2209097c6edb91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#ade8219a47138ed32dd2209097c6edb91">parallel_execution_native</a> () noexcept</td></tr>
<tr class="memdesc:ade8219a47138ed32dd2209097c6edb91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default construct a native parallel execution policy.  <a href="#ade8219a47138ed32dd2209097c6edb91">More...</a><br /></td></tr>
<tr class="separator:ade8219a47138ed32dd2209097c6edb91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b98f877a6e1273329b77e80f8c70d05"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a2b98f877a6e1273329b77e80f8c70d05">parallel_execution_native</a> (int <a class="el" href="classgrppi_1_1parallel__execution__native.html#aae3c5760c422c19a391ce1ddaa5e9f0b">concurrency_degree</a>, bool ordering=true) noexcept</td></tr>
<tr class="memdesc:a2b98f877a6e1273329b77e80f8c70d05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a native parallel execution policy.  <a href="#a2b98f877a6e1273329b77e80f8c70d05">More...</a><br /></td></tr>
<tr class="separator:a2b98f877a6e1273329b77e80f8c70d05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19ab3a76eaf5ff20e005e4c231de5668"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a19ab3a76eaf5ff20e005e4c231de5668">set_concurrency_degree</a> (int degree) noexcept</td></tr>
<tr class="memdesc:a19ab3a76eaf5ff20e005e4c231de5668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set number of grppi threads.  <a href="#a19ab3a76eaf5ff20e005e4c231de5668">More...</a><br /></td></tr>
<tr class="separator:a19ab3a76eaf5ff20e005e4c231de5668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae3c5760c422c19a391ce1ddaa5e9f0b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#aae3c5760c422c19a391ce1ddaa5e9f0b">concurrency_degree</a> () const noexcept</td></tr>
<tr class="memdesc:aae3c5760c422c19a391ce1ddaa5e9f0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get number of grppi trheads.  <a href="#aae3c5760c422c19a391ce1ddaa5e9f0b">More...</a><br /></td></tr>
<tr class="separator:aae3c5760c422c19a391ce1ddaa5e9f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac71cfba0f7349d3ccfa4ffd0133a7298"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#ac71cfba0f7349d3ccfa4ffd0133a7298">enable_ordering</a> () noexcept</td></tr>
<tr class="memdesc:ac71cfba0f7349d3ccfa4ffd0133a7298"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable ordering.  <a href="#ac71cfba0f7349d3ccfa4ffd0133a7298">More...</a><br /></td></tr>
<tr class="separator:ac71cfba0f7349d3ccfa4ffd0133a7298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d64864ad9a1712b2528c0d424fd7ae4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a5d64864ad9a1712b2528c0d424fd7ae4">disable_ordering</a> () noexcept</td></tr>
<tr class="memdesc:a5d64864ad9a1712b2528c0d424fd7ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable ordering.  <a href="#a5d64864ad9a1712b2528c0d424fd7ae4">More...</a><br /></td></tr>
<tr class="separator:a5d64864ad9a1712b2528c0d424fd7ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a865f895d5f3e10b6f0cfa55f197c109b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a865f895d5f3e10b6f0cfa55f197c109b">is_ordered</a> () const noexcept</td></tr>
<tr class="memdesc:a865f895d5f3e10b6f0cfa55f197c109b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is execution ordered.  <a href="#a865f895d5f3e10b6f0cfa55f197c109b">More...</a><br /></td></tr>
<tr class="separator:a865f895d5f3e10b6f0cfa55f197c109b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3fb66a10cab14001a371be7b351c745"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgrppi_1_1native__thread__manager.html">native_thread_manager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#aa3fb66a10cab14001a371be7b351c745">thread_manager</a> ()</td></tr>
<tr class="memdesc:aa3fb66a10cab14001a371be7b351c745"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a manager object for registration/deregistration in the thread index table for current thread.  <a href="#aa3fb66a10cab14001a371be7b351c745">More...</a><br /></td></tr>
<tr class="separator:aa3fb66a10cab14001a371be7b351c745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969c78379311aa8678df7eaac0ae33b6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a969c78379311aa8678df7eaac0ae33b6">get_thread_id</a> () const noexcept</td></tr>
<tr class="memdesc:a969c78379311aa8678df7eaac0ae33b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get index of current thread in the thread table.  <a href="#a969c78379311aa8678df7eaac0ae33b6">More...</a><br /></td></tr>
<tr class="separator:a969c78379311aa8678df7eaac0ae33b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d8ff67ca30e0fa19ad0c9365a59ff02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a2d8ff67ca30e0fa19ad0c9365a59ff02">set_queue_attributes</a> (int size, <a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a> mode) noexcept</td></tr>
<tr class="memdesc:a2d8ff67ca30e0fa19ad0c9365a59ff02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes for the queues built through <a class="el" href="classgrppi_1_1parallel__execution__native.html#a5c310952de159f2b4d62bdae4b360d8f" title="Makes a communication queue for elements of type T. Constructs a queue using the attributes that can ...">make_queue&lt;T&gt;()</a>  <a href="#a2d8ff67ca30e0fa19ad0c9365a59ff02">More...</a><br /></td></tr>
<tr class="separator:a2d8ff67ca30e0fa19ad0c9365a59ff02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c310952de159f2b4d62bdae4b360d8f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a5c310952de159f2b4d62bdae4b360d8f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#a5c310952de159f2b4d62bdae4b360d8f">make_queue</a> () const </td></tr>
<tr class="memdesc:a5c310952de159f2b4d62bdae4b360d8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a communication queue for elements of type T. Constructs a queue using the attributes that can be set via <a class="el" href="classgrppi_1_1parallel__execution__native.html#a2d8ff67ca30e0fa19ad0c9365a59ff02" title="Sets the attributes for the queues built through make_queue&lt;T&gt;() ">set_queue_attributes()</a>. The value is returned via move semantics.  <a href="#a5c310952de159f2b4d62bdae4b360d8f">More...</a><br /></td></tr>
<tr class="separator:a5c310952de159f2b4d62bdae4b360d8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ac20c4179a163163d48176c7f81866594"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgrppi_1_1thread__pool.html">thread_pool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__native.html#ac20c4179a163163d48176c7f81866594">pool</a></td></tr>
<tr class="memdesc:ac20c4179a163163d48176c7f81866594"><td class="mdescLeft">&#160;</td><td class="mdescRight">Thread pool for lanching workers.  <a href="#ac20c4179a163163d48176c7f81866594">More...</a><br /></td></tr>
<tr class="separator:ac20c4179a163163d48176c7f81866594"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Native parallel execution policy. This policy uses ISO C++ threads as implementation building block allowing usage in any ISO C++ compliant platform. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ade8219a47138ed32dd2209097c6edb91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">grppi::parallel_execution_native::parallel_execution_native </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default construct a native parallel execution policy. </p>
<p>Creates a parallel execution native object.</p>
<p>The concurrency degree is determined by the platform.</p>
<dl class="section note"><dt>Note</dt><dd>The concurrency degree is fixed to 2 times the hardware concurrency degree. </dd></dl>

</div>
</div>
<a class="anchor" id="a2b98f877a6e1273329b77e80f8c70d05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">grppi::parallel_execution_native::parallel_execution_native </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>concurrency_degree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ordering</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a native parallel execution policy. </p>
<p>Creates a parallel execution native object selecting the concurrency degree and ordering mode. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">concurrency_degree</td><td>Number of threads used for parallel algorithms. </td></tr>
    <tr><td class="paramname">order</td><td>Whether ordered executions is enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aae3c5760c422c19a391ce1ddaa5e9f0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int grppi::parallel_execution_native::concurrency_degree </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get number of grppi trheads. </p>

</div>
</div>
<a class="anchor" id="a5d64864ad9a1712b2528c0d424fd7ae4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_native::disable_ordering </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Disable ordering. </p>

</div>
</div>
<a class="anchor" id="ac71cfba0f7349d3ccfa4ffd0133a7298"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_native::enable_ordering </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable ordering. </p>

</div>
</div>
<a class="anchor" id="a969c78379311aa8678df7eaac0ae33b6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int grppi::parallel_execution_native::get_thread_id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get index of current thread in the thread table. </p>
<dl class="section pre"><dt>Precondition</dt><dd>The current thread is currently registered. </dd></dl>

</div>
</div>
<a class="anchor" id="a865f895d5f3e10b6f0cfa55f197c109b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool grppi::parallel_execution_native::is_ordered </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is execution ordered. </p>

</div>
</div>
<a class="anchor" id="a5c310952de159f2b4d62bdae4b360d8f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt;T&gt; grppi::parallel_execution_native::make_queue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Makes a communication queue for elements of type T. Constructs a queue using the attributes that can be set via <a class="el" href="classgrppi_1_1parallel__execution__native.html#a2d8ff67ca30e0fa19ad0c9365a59ff02" title="Sets the attributes for the queues built through make_queue&lt;T&gt;() ">set_queue_attributes()</a>. The value is returned via move semantics. </p>

</div>
</div>
<a class="anchor" id="a19ab3a76eaf5ff20e005e4c231de5668"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_native::set_concurrency_degree </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>degree</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set number of grppi threads. </p>

</div>
</div>
<a class="anchor" id="a2d8ff67ca30e0fa19ad0c9365a59ff02"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_native::set_queue_attributes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the attributes for the queues built through <a class="el" href="classgrppi_1_1parallel__execution__native.html#a5c310952de159f2b4d62bdae4b360d8f" title="Makes a communication queue for elements of type T. Constructs a queue using the attributes that can ...">make_queue&lt;T&gt;()</a> </p>

</div>
</div>
<a class="anchor" id="aa3fb66a10cab14001a371be7b351c745"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1native__thread__manager.html">native_thread_manager</a> grppi::parallel_execution_native::thread_manager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get a manager object for registration/deregistration in the thread index table for current thread. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ac20c4179a163163d48176c7f81866594"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1thread__pool.html">thread_pool</a> grppi::parallel_execution_native::pool</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Thread pool for lanching workers. </p>
<dl class="section note"><dt>Note</dt><dd>This member is temporary and is likely to be deprecated or even removed in a future version of GrPPI. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="parallel__execution__native_8h_source.html">parallel_execution_native.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
